using System.ComponentModel.DataAnnotations;

namespace BW.Demo.Domain.Entities
{
    /// <summary>
    /// 溯源管理详情-深加工企业信息
    /// </summary>
    public class ProcessingEnterprise
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ProcessingEnterprisesId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [MaxLength(30)]
        public string CompanyName { get; set; } = string.Empty;

        /// <summary>
        /// 公司许可证
        /// </summary>
        [MaxLength(30)]
        public string GeneratingLicenses { get; set; } = string.Empty;
        /// <summary>
        /// 生产批次
        /// </summary>
        [MaxLength(50)]
        public string Batch { get; set; } = string.Empty;
    }
}
